package test.demo.Exception;

import com.sun.xml.internal.ws.developer.Serialization;
import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
@Serialization
public enum SQLException {

    REPEAT_OF_USER_NAME(1062,0 ,"数据库访问异常！");

    private final int SQLCode;

    private final int SQLStatus;

    private final String message;
}
